package cn.tedu.mall.book.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UserLoginDTO implements Serializable {
    @NotNull(message = "登录失败，请提交用户名！")
    private String username;
    @NotNull(message = "登录失败，请提交密码！")
    private String password;
}
